package com.yn.common.response.driver;


import com.yn.common.response.zyorder.ZyOrderQuoteResponse;
import com.yn.common.response.zyorder.ZyOrderServiceResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="司机端展示订单详情", description="司机端展示订单详情")
public class ZyDriverOrderDetailResponse {

    @ApiModelProperty(value = "订单表id")
    private Integer id;

    @ApiModelProperty(value = "订单id")
    private String orderNo;

    @ApiModelProperty(value = "目的区编码")
    private String startRegionCode;

    @ApiModelProperty(value = "出发地区编码")
    private String endRegionCode;

    @ApiModelProperty(value = "目的区域中文")
    private String startDestination;

    @ApiModelProperty(value = "出发区域中文")
    private String endDestination;

    @ApiModelProperty(value = "目的区域经度")
    private String startLocality;

    @ApiModelProperty(value = "出发区域纬度")
    private String endLocality;

    @ApiModelProperty(value = "乘车人数")
    private Integer ridingNumber;

    @ApiModelProperty(value = "用车时间")
    private String userCarDateTime;

    @ApiModelProperty(value = "订单类型")
    private Integer orderType;

    @ApiModelProperty(value = "订单类型字符")
    private String orderTypeStr;

    @ApiModelProperty(value = "转运类型")
    private Integer transportType;

    @ApiModelProperty(value = "转运类型字符")
    private String transportTypeStr;

    @ApiModelProperty(value = "备注")
    private String remark;

    //下面的跟ZyOrderQuoteResponse相同

    //转运路程距离(米)
    @ApiModelProperty(value = "转运路程距离(转换为Km)")
    private Double transferDistance;


    @ApiModelProperty(value = "服务项")
    private List<ZyOrderServiceResponse> zyOrderServiceResponses;

    @ApiModelProperty(value = "转运费用")
    private  ZyOrderServiceResponse zyOrderServiceResponse;

    @ApiModelProperty(value = "服务费用(元)")
    private BigDecimal allServiceCost;

    @ApiModelProperty(value = "订单总金额(元)")
    private BigDecimal orderAllPrice;

    /*@ApiModelProperty(value = "实际支付金额")
    private BigDecimal orderPayPrice;*/

   /* @ApiModelProperty(value = "优惠金额")
    private BigDecimal couponPrice;*/

    @ApiModelProperty(value = "商户订单号")
    private String  zyOrderNo;
}
